package com.cheng.service.impl;

import com.cheng.common.utils.BaseResult;
import com.cheng.dto.device.DeviceDTO;
import com.cheng.service.DeviceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class DeviceServiceImpl implements DeviceService {

    @Override
    public BaseResult<DeviceDTO> findDeviceById(Long id) {
        DeviceDTO deviceDTO = new DeviceDTO();
        deviceDTO.setDeviceCode("testCode");
        deviceDTO.setDeviceName("testName");
        deviceDTO.setId(1L);
        return BaseResult.successResult(deviceDTO);
    }

}
